var app = angular.module("note", []);

app.controller("note_manager", function($scope) {
    console.log(arguments);
    $scope.message = "";
    $scope.leave  = function() {
        return 100 - $scope.message.length;
    };
    $scope.clear = function() {
        $scope.message = "";
    };
    $scope.save  = function() {
        console.log($scope.message);
        $scope.clear();
    };
});

//console.log(app);